Managing interworking communications protocols

ABSTRACT

Systems and methods for managing interworking protocols are provided. According to one embodiment, a service management system (SMS) communicatively coupled with multiple service processing switches of a service provider provisions transport network interfaces of the service processing switches to provide a transport between subscriber interfaces of the service processing switches. The subscriber interfaces are configured to communicate data in accordance with a first protocol. The transport network interfaces configured to communicate data in accordance with a second protocol. The SMS causes a first-protocol-over-second-protocol (FPoSP) Virtual Private Network (VPN) to be created through which subscriber sites securely exchange data by establishing a virtual router (VR) within the service processing switches corresponding to each subscriber interface. The VRs communicate the data among the service processing switches by encapsulating packets received from the subscriber sites within packets of the second protocol and transmitting the encapsulated packets through the transport network interfaces.

This application is a continuation of U.S. patent application Ser. No. 12/537,898, filed Aug. 7, 2009, which is a continuation of U.S. patent application Ser. No. 09/663,457, filed Sep. 13, 2000, now U.S. Pat. No. 7,574,495, which is hereby incorporated by reference in its entirety for all purposes.

COPYRIGHT NOTICE

Contained herein is material that is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction of the patent disclosure by any person as it appears in the Patent and Trademark Office patent files or records, but otherwise reserves all rights to the copyright whatsoever. Copyright© 2000-2011, Fortinet, Inc.

BACKGROUND

1. Field

Embodiments of the present invention generally relate to computer network routers. In particular, embodiments of the present invention relate to systems and methods of managing interworking protocols for such routers.

2. Description of the Related Art

As computer networking technology has evolved, a number of different communications protocols have been developed. For example, Transmission Control Protocol (TCP)/Internet Protocol (IP), Frame Relay, Asynchronous Transfer Mode (ATM) protocols currently exist, along with other communications protocols. Each of these protocols has different defining characteristics, such as supported bandwidth, reliability and communications distances. It is often desirable to have two or more protocols work together. In previous systems, configuring a network to support such interworking protocols is largely a manual process, prone to errors, and in general difficult to accomplish.

SUMMARY

Systems and methods are described for managing interworking protocols. According to one embodiment, a service management system (SMS) communicatively coupled with multiple service processing switches of a service provider provisions transport network interfaces of the service processing switches to provide a transport between subscriber interfaces of the service processing switches. The subscriber interfaces are configured to communicate data in accordance with a first protocol. The transport network interfaces configured to communicate data in accordance with a second protocol. The SMS causes a first-protocol-over-second-protocol (FPoSP) Virtual Private Network (VPN) to be created through which subscriber sites securely exchange data by establishing a virtual router (VR) within the service processing switches corresponding to each subscriber interface. The VRs communicate the data among the service processing switches by encapsulating packets received from the subscriber sites within packets of the second protocol and transmitting the encapsulated packets through the transport network interfaces.

Other features of embodiments of the present invention will be apparent from the accompanying drawings and from the detailed description that follows.

BRIEF DESCRIPTION OF THE DRAWINGS

Embodiments of the present invention are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which like reference numerals refer to similar elements and in which:

FIG. 1 is a block diagram of a hardware and operating environment in which various embodiments of the present invention may be practiced.

FIG. 2 is a block diagram illustrating an exemplary frame of IP configuration according to an embodiment of the present invention.

FIG. 3 is a flowchart illustrating a method according to an embodiment of the present invention.

FIG. 4 is a diagram illustrating an exemplary Virtual Private Network (VPN) used in an embodiment of the invention.

FIG. 5 is a diagram illustrating further details regarding segments of an exemplary VPN used in accordance with various embodiments of the present invention.

FIG. 6 is a diagram illustrating inter-VPN reachability according to one embodiment of the present invention.

FIG. 7 is a diagram illustrating dynamic intra-VPN routing according to one embodiment of the present invention.

FIG. 8 is a flowchart illustrating a method for provisioning a router configuration according to an embodiment of the present invention.

DETAILED DESCRIPTION

In the following detailed description of exemplary embodiments of the invention, reference is made to the accompanying drawings which form a part hereof, and in which is shown by way of illustration specific exemplary embodiments in which the invention may be practiced. These embodiments are described in sufficient detail to enable those skilled in the art to practice the invention, and it is to be understood that other embodiments may be utilized and that logical, mechanical, electrical and other changes may be made without departing from the scope of the present invention. The following detailed description is, therefore, not to be taken in a limiting sense.

In the Figures, the same reference number is used throughout to refer to an identical component which appears in multiple Figures. Signals and connections may be referred to by the same reference number or label, and the actual meaning will be clear from its use in the context of the description.

The detailed description is divided into multiple sections. In the first section the hardware and operating environment of different embodiments of the invention is described. In the second section, the software environment of varying embodiments of the invention is described. In the final section, a conclusion is provided.

FIG. 1 is a diagram of a hardware and operating environment in conjunction with which embodiments of the invention may be practiced. The description of FIG. 1 is intended to provide a brief, general description of suitable computer routing hardware and a suitable computing environment in conjunction with which the invention may be implemented.

Although not required, the invention is described in the general context of computer-executable instructions, such as program modules, being executed by a computer, such as a personal computer or a server computer. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform particular tasks or implement particular abstract data types.

As shown in FIG. 1, the system 100 includes a service processing switch 110, access routers 104, service management system 118, and customer network management system 106. In some embodiments, service processing switch 110 provides switching, routing and computing resources that can be allocated by a service provider to customers. In one embodiment, the service processing switch 110 is an IPSX 9000 service processing switch from Cosine Communications, Inc. However, the invention is not limited to any particular switch, router or service processing hardware.

Service processing switch 110 can contain one or more blades 112. In some embodiments of the invention, blades 112 have a type associated with them. Examples of blade types include, processing functions such as network blades, control blades, trunk blades, and processor blades. Network blades provide interfaces to different types of networks. Control blades provide system management and accounting functions to the service processing system 110. Trunk blades provide access to high speed trunk networks. Processor blades provide general purpose computer processors that in some embodiments of the invention provide firewall, intrusion detection, or directory services. Blades are communicably coupled to one another, in one embodiment a packet ring is used to couple the blades.

In some embodiments, each of blades 112 includes one more processing elements 114. Processing elements 114 include a CPU and memory that provide computing resources for the blade. The invention is not limited to any particular number of processing elements on a blade, nor is the invention limited to any particular number of blades in a service processing switch 110.

Service processing system 110 is typically communicably coupled to a network 116, for example the Internet. Network 116 can also be a Wide Area Network (WAN), a Local Area Network (LAN), or a private network.

Service processing system 110 is also typically communicably coupled to a plurality of customer networks 102 via customer access routers 104.

Service management system 118 is communicably coupled to service processing system 110, and hosts software that is used to configure and control the operation of service processing switch 110. In one embodiment of the invention, the service management system is a SPARC system available from Sun Microsystems, Inc. running the Invision product from Cosine Communications, Inc. Service management system 118 can be used to define and allocate resources within service processing switch 110 to various customers. In some embodiments, the Simple Network Management Protocol (SNMP) is used to communicate with the service processing system 110 and to update SNMP MIB 126.

FIG. 2 illustrates an exemplary configuration in which two network protocols interwork. In the exemplary configuration, a customer manages two sites A and B, 202 and 204 respectively, and wishes to establish a logical network connection 212 between the two. In the exemplary scenario, the customer desires to use Frame Relay protocols in and out of the two sites. However, it is impractical to establish a Frame Relay link directly between the two sites. As a result, the customer establishes a Frame Over IP (FRoIP) link between the two sites 202 and 204. In order to establish this link, two service processing switches 110.1 and 110.2 are used. Switch 110.1 is located near site 202, and switch 110.2 is located near site 204, allowing a Frame Relay link to be established between each of the sites and its corresponding switch. Transport 208 is used to communicably couple switches 110.1 and 110.2, and a private virtual circuit (PVC) 206 is established within transport 208. The end result is that a FRoIP connection between the switches 110.1 and 110.2 allows Frame Relay packets to be transmitted between sites 202 and 204.

Those skilled in the art will appreciate that the invention may be practiced with other routing system hardware configurations besides those described above.

In the previous section, a system level overview of the operation of exemplary embodiments of the invention were described. In this section, the particular methods of the invention performed by an operating environment executing an exemplary embodiment are described with reference to a flowchart in FIG. 3. The methods to be performed by the operating environment constitute computer programs made up of computer-executable instructions. Describing the methods with reference to a flow chart enables one skilled in the art to develop such programs including such instructions to carry out the methods on suitable computers (the processor of the computer executing the instructions from computer-readable media). The methods described below are inclusive of the acts required to be taken by an operating environment executing an exemplary embodiment of the invention.

The method begins when a system executing the method, such as service management system 118 provisions a first endpoint for an interworking protocol (block 302). Depending upon the particular embodiment, the provisioning of the endpoint can be accomplished either manually, or it can be accomplished using the policy based provisioning methodologies described below, such as those described with reference to FIG. 8.

Next, the system proceeds to provision the transport network (block 304). Again, the transport network interfaces can be provisioned using predefined policies. In the case of Frame Over IP (FRoIP) provisioning, one embodiment of the invention includes the following parameters that can be determined by policies:

Default window-size—the window size determines the length of the buffered packet sequence. It enables the FRoIP instance to hold a series of IP packets in a memory buffer, in preparation for reassembly of the original frame sequence that is ultimately sent to its destination DLCI. The default-window-size applies to all subsequent FRoIP transports that are created. If this value is changed after some transports already exist, only subsequent newly created transports will use the new default. The default value is 4 packets, and permissible values range from 1 to 10.

Default window-timeout—the window-timeout sets the time limit for holding packets in the buffer before they are sent to their destination. It is measured in milliseconds. The default value is 10,000 milliseconds or 10 seconds total. As with default window-size, this value is used as a global default for all transports.

Max-transport—the maximum number of transports that can be terminated at the FRoIP instance. The default value is 24. The number of transports that can be run depends on the load in the system, and on the particular blade.

Local VI—the Virtual Interface, identified by its number, across which the Frame Relay traffic is to be carried. This value cannot be changed while active Frame Relay transports are running.

Permit-bad-event—the number of allowed bad events, such as a failure to reassemble a frame, that are permitted before the service processing switch declares the FRoIP transport to be taken down by the switch. The same number is used as a criterion for re-enabling the transport. See event-window-size below for more details. The default is 3 events.

Event-window-size—this feature interacts with the permit-bad-event setting. In other words, if a number of events <event-window-size> occurs that is carrying a <permitbad-event> number of bad events, the transport is taken down by the Control Blade. For example, if for every 10 events three or more events are bad, the interface (transport) is marked as down. Conversely, if three or more events subsequently are known as good in a following sequence, the interface is re-enabled by the Control Blade. Thus, this setting operates for both states: good events and bad events.

Keep-alive-period—the keep-alive interval is the period of time between issued “keep this Frame Relay connection live” messages from the local transport. This value is specified in seconds.

Admin-status—admin-status is a switch that enables or disables FRoIP Transport configuration on the current switch. The default is enabled.

Window-size—this value corresponds to the default-window-size value that is specified at the FRoIP level. If you change this value, it overrides the FRoIP default-window-size value for the local transport, otherwise it automatically uses the default window-size value previously defined in the FRoIP level.

Window-timeout—this value corresponds to the default-window-timeout value that is specified at the FRoP level., and overrides the default value as described for window-size.

Next, a private virtual circuit is provisioned (block 306). Again, a user can select from a set of predefined policies in order to supply configuration parameters related to the provisioning. In one embodiment of the invention, the following transport parameters can be set using policies:

-   -   BC Committed Burst Size     -   BE Excess Burst Size     -   CIR Committed Information Rate

Finally, a second end point is provisioned (block 308). Like the other previously described blocks, the second end point can be provisioned using predefined policies.

Systems and methods for managing interworking communications protocols are disclosed. Embodiments of the invention provide advantages over previous systems. For example, policies can be used to make it easier to provision the various components of an interworking networking system, reducing or eliminating the need for manual configuration.

Although specific embodiments have been illustrated and described herein, it will be appreciated by those of ordinary skill in the art that any arrangement which is calculated to achieve the same purpose may be substituted for the specific embodiments shown. This application is intended to cover any adaptations or variations of the present invention.

FIG. 4 provides an illustration of a VPN as used in various embodiments of the invention. A VPN is typically a logical grouping of virtual routers (VRs) 406. The connectivity between VPNs and customer sites 402 is provided by means of virtual interfaces (VIs). Users can create VIs and connect them to customer sites or to VIs of other VRs. The virtual connection can also be configured to be a tunnel interface (TI) to a type of secured tunnel, such as an IPSec tunnel. Customer sites can be connected via a network interface 404, which can be a leased line interface such as DS3. The invention is not limited to any particular type of network interface.

In some embodiments of the invention, two types of virtual routers are supported, customer VRs and ISP VRs. Customer VRs are used to build customer VPNs, and ISP VRs are used to build ISP VPN. The ISP VPN is connected to an ISP backbone network 510 (FIG. 5). In this framework, each ISP needs only one ISP VPN. Customer VRs can be connected to the ISP VPN by means of VIs. Every virtual router can use one or more routing protocols, including STATIC, RIP, OSPF, and BGP, to disseminate reachability information. For routing purposes, every VPN based on this framework can be treated as an extension of the customer network.

Various embodiments of the invention allow network managers to define profiles. The profile information may be used to automatically generate the routing configuration for a VPN. In some embodiments, to profile the routing on a VPN, a customer VPN is divided into three segments, which are illustrated in FIG. 5.

ISP-Edge segment 305 is a VPN segment that connects the VPN to customer sites. This segment includes all virtual interfaces connected to logical interfaces and tunnel interfaces whose remote end is outside the VPN. This segment is used for disseminating customer site reachability information.

Inside-VPN segment 504 (also referred to as an Intra-VPN segment) is a VPN segment that provides connectivity among different VRs 406. This segment is used to disseminate intra-VPN reachability information.

Inter-VPN segment 502 is a VPN segment that connects different types of VPNs; for example, the interfaces that connect a customer VPN with an ISP VPN.

It is desirable to identify segment types, because it provides a mechanism for generating profiles that can be optimized depending on the segment type.

FIG. 6 illustrates how the routing needs of the Inter-VPN segment 302 may be taken care of at the time a customer VR 406 is created. When a customer VR 406 is created, the user is given the option to automatically connect the VR with an ISP VR 508. At that time, service management system 118 (FIG. 1) may also create a default route 602 on the customer VR 406 and a static route 606 on the ISP VR 508, which accommodates customer VR 406 to ISP VR 508 connectivity. In this model, in accordance with one embodiment, for all network address translation (NAT) addresses 604, the user adds static routes on the ISP VPN.

The profile discussed here takes care of the first two VPN segments: ISP-Edge 506 and Intra-VPN 504. Given a VPN's routing requirements, there are typically three routing aspects that are considered:

-   -   1) The routing protocol that should be turned on a virtual         interface in a VR     -   2) When and how to redistribute routes between various routing         protocols.     -   3) When enabling a routing protocol on a router or interface,         the routing parameters to use for optimizing performance.

Service management system 118 (FIG. 1) uses VPN profile data to automatically generate the required routing configuration. In some embodiments of the invention, Border Gateway Protocol (BGP) is excluded as a possible choice for configuring customer VPNs. There are a few reasons for this. First, there are only two cases in which BGP would be used in a VPN environment. ISP-VPNs might use BGP to talk to the Internet core. Also, if a VPN connects two very large customer sites, BGP might be needed for the Intra-VPN segment to ensure scalability. There will generally be very few ISP VPNs (in most networks, there is only one), and it's unlikely that a VPN will be used to connect two or more large sites.

The second reason for excluding BGP from the profile is the VR-specific customization that is required to make BGP work in a VPN environment. Because BGP connects ISP VRs to the ISP core, a careful selection of export and import policies is needed to minimize the number of routes in each ISP VR. It is very difficult to represent this type of configuration by means of a generic routing profile. Service management system 118 (FIG. 1) provides an interface to configure BGP on VRs. This interface allows user to enable BGP on a VR, set its BGP neighbors, and add import and export policies.

In some embodiments of the invention, the profile defines a simple routing configuration, that is, static routing for the Intra-VPN segment. Thus, static routing will be used to communicate with each customer site. This configuration is desirable because it puts a minimum load on the device, thus increasing the number of VPNs that can be managed by each service processing switch 110.

There are two issues with static routing. First, ISPs need to manage static routes for each customer. As new subnets are added to customer networks and old ones are removed, the static routes corresponding to these subnets should be added or removed in the corresponding VPNs. In some embodiments, this problem can be solved by having service management system 118 (FIG. 1) take ownership of automatically managing static routes based on the customer site subnet information. In these cases, customers can directly add or remove subnet information using tools such as the customer network management system 106 (FIG. 1). This capability will transfer the ownership of managing routing to customers.

A second issue with static routing is that the routing by definition is STATIC. If a site interface is down, traffic cannot be re-routed to an alternate path. A partial solution to this problem can be provided by allowing customers to disable routing on a site that is down. This can be done by means of customer network management system 106 (FIG. 1). In this scenario, service management system 118 (FIG. 1) would remove the static routes from the network that belongs to the site that is down. This action would allow the traffic to go through the backup path.

To resolve the two issues described above, embodiments of the invention provide a mechanism for a user to choose more advanced routing options in profiles. For smaller sites, a viable option is Routing Information Protocol (RIP), while larger sites operators might choose Open Shortest Path First (OSPF) gateway protocol. The dynamic routing transfers the burden of managing route changes from the network manager to the device. If a user selects dynamic routing at the edge, then the service management system will also have to use dynamic routing to disseminate Intra-VPN reach ability information.

FIG. 5 illustrates this scenario. If a site link to virtual router A 206.1 is down, virtual router B 206.2 will know that the traffic going through that link needs to be rerouted to virtual router C 206.3 only if dynamic routing is specified for Intra-VPN segment 504.

If all the sites (ISP-Edge segment) are using static or RIP routing, service management system 118 will allow the user to choose between RIP and OSPF for Intra-VPN routing. The user will typically select RIP if there are relatively few VRs in the VPN. Because OSPF is more scalable, it is a logical choice for bigger VPNs. If a user decides to run OSPF at a site edge, it is desirable to select OSPF for the Intra-VPN segment.

This section has described the various software components in a system that provides for the automatic generation and provisioning of routing configurations. As those of skill in the art will appreciate, the software can be written in any of a number of programming languages known in the art, including but not limited to C/C++, Java, Visual Basic, Smalltalk, Pascal, Ada and similar programming languages. Embodiments of the present invention are not limited to any particular programming language for implementation. Additionally, as the generation and provisioning of routing configurations may also include manual steps, embodiments of the present invention are not limited to wholly automated methods.

In the previous section, a system-level overview of the operation of exemplary embodiments of the invention was provided. In this section, a process for automatically generating and provisioning routing configurations in accordance with a particular embodiment is described with reference to a flowchart shown in FIG. 8. The methods to be performed by the operating environment may constitute computer programs made up of computer-executable instructions. Describing the methods with reference to a flowchart enables one skilled in the art to develop such programs including such instructions to carry out the methods on suitable computers (the processor of the computer executing the instructions from computer-readable media). The method illustrated in FIG. 8 is inclusive of the acts required to be taken by an operating environment executing an exemplary embodiment of the invention.

The method begins at block 802 when a system executing the method learns, or discovers, the current routes to sites connected via the service processing switch 110 (FIG. 1). To build or include new sites in a VPN, each edge router must learn the routes to all sites connected to all the edges in the network. An edge in a network is a boundary between two routers, an edge router is typically a network device that routes data between one or more local area networks backbone network. Two components of routing information are typically needed for the VPN:

-   -   1) Site Reachability Information: Each edge router needs to         learn the set of VPN addresses and address prefixes reachable at         each site. The reachability information needed by the Customer         Provided Equipment (CPE) router depends on site configuration.         Customer sites are characterized into two categories: stub sites         and non-stub sites. The CPE routers of stub sites have default         routes pointing to an ISP edge router, while the CPE router of         non-stub site do not, and therefore need to know the set of         non-local destinations reachable via that link. Usually, if a         VPN also provides Internet connectivity to a site and there is         no backdoor connection between this and any other site, it is a         stub site.     -   2) Intra-VPN Reachability Information: Once an edge router has         learned the set of prefixes associated with each of its customer         site's links, this information must be disseminated to each         other router in the VPN.

According to the present example, after learning routes to sites, the system disseminates site reachability information (block 804). Various embodiments of the invention employ different mechanisms to disseminate the information. In one embodiment, static configuration is used. In static configuration, all the subnets associated with each customer site are manually configured into the VPN. To increase the manageability of this information, customer network management (CNM) 106 (FIG. 1) tools can be enhanced to allow customers to directly add and remove subnet information from the VPN. The subnet information can be used to automatically create the static routes in the VPN. In this case, the customer also needs to add static routes to the CPE routers of non-stub sites.

In an alternative embodiment, directory lookup is used to disseminate the site routing information. A central directory server can maintain the identities of edge routers associated with a VPN, and the set of customer site links bound to the VPN per edge router. Each edge router can query this information using some defined mechanism (for example, LDAP) upon startup. This mechanism requires some kind of database synchronization mechanism in order for all edge routers to learn the addition and deletion of sites from the VPN.

In a further alternative embodiment, a routing protocol can be run between the CPE edge router and the ISP edge router to exchange reachability information. This allows an ISP edge router to learn the prefixes that can be reached at a customer site, and enables a CPE router to learn the destinations that can be reached via the provider network.

In a still further embodiment, if a CPE router runs Multiprotocol Label Switching (MPLS), the MPLS Label Distribution Protocol (LDP) can be extended to convey the set of prefixes at each stub site, together with the appropriate labeling information.

In addition to the above, several mechanisms for Disseminating Intra-VPN Reachability Information can be used. In one embodiment employing static configuration, the service management system 118 can use the subnets configured for each site to automatically create static routes for dissemination of intra-VPN reachability information.

In an alternative embodiment, directory lookup information is used. In addition to VPN membership information, a central directory can maintain a listing of the address prefixes associated with each end point.

In a further alternative embodiment, each edge router runs an instance of a routing protocol on each VPN to disseminate intra-VPN reachability information. Using this mechanism, both full-mesh and arbitrary, VPN topologies can be easily supported.

A still further alternative embodiment uses a Link Reachability Protocol. Here each edge router can run a link reachability protocol carrying the necessary information. This protocol runs across the tunnel between the two edge routers. The two preferred choices for this approach are a variation of MPLS LDP and IBGP. The link reachability protocol-based schemes can support only fully meshed VPNs.

In yet a further alternative embodiment, site reach ability information is disseminated by Piggybacking on IP Backbone Routing Protocols. The set of address prefixes associated with each stub interface can also be piggybacked into the routing advertisements from each edge router and propagated through the network. Other edge routers extract this information from received route advertisements. This scheme typically requires that intermediate routers cache intra-VPN routing information to propagate the data further. This also has implications for the level of security possible for intra-VPN routing information.

In addition to learning and disseminating site reachability information, a global routing profile can be defined (block 806). In one embodiment of the invention, the global routing profile includes the following parameters:

-   -   a. Routing administration status     -   b. Routing protocol for Intra-VPN segments     -   c. Default routing protocol at the ISP edge. All the customer         sites will generally inherit this.     -   d. Default site type: stub or non-stub: Stub sites have a         default route going toward the ISP VPN (Internet). For stub         sites, there is no need to export routes from the VPN. This         information is used in creating default export and import         policies.     -   e. If the routing protocol for the Intra-VPN segment is OSPF,         define the OSPF profile topology type.

When a site is added, it inherits the routing configuration from the routing profile.

In addition, the system provides for the definition of a custom site profile (block 808). Multiple types of site information can be configured. First, if the site routing profile needs to be customized, the user may do so. Second, if a user wants static routing at the edge, the network subnets that are associated with the site must be provided. This configuration will allow the service management system to automatically create static routes. In one embodiment of the invention, the site profile contains following parameters:

-   -   a. Routing Protocol at the ISP edge     -   b. Site Type: stub or non-stub     -   c. OSPF Area ID: If OSPF is enabled at the edge     -   d. Site subnets.

In addition, a custom OSPF profile can be defined (block 810). When a user configures a routing profile, service management system 118 (FIG. 1) automatically generates OSPF, RIP, and static profiles, if needed. In many cases, the user will want to customize the generic OSPF profile. The user can customize the generated profile using a policy-based profile configuration workflow. The workflow includes the following features:

-   -   1) The user can define custom OSPF areas. He only needs to         configure what VRs are included in what areas; Service         management system 118 (FIG. 1) generates the required         configuration for each VR and VI.     -   2) The user can define a route aggregation policy for an OSPF         area; Service management system 118 (FIG. 1) will auto-generate         this configuration for all the VRs in that area.     -   3) By default, Service management system 118 (FIG. 1) generates         one VR routing parameter policy, which applies to all VRs, and         three VI routing parameter policies which apply to tunnel         interfaces, customer site edges, and VI-VI connections. When         routing configuration is generated, these policies are used to         define routing parameters. The user can make changes in any of         these policies, or create his own policies and assign them as         defaults. The user also can define policies and set them to be         applied on a set of VRs or VIs. Service management system 118         (FIG. 1) allows users to individually customize parameters for a         VR or VI.

When configuring OSPF for intra-VPN segment, the service management system cannot use the same guidelines as those used in setting up a normal OSPF network, because each router in a VPN is a virtual router. To optimize performance, it is desirable to minimize the size of the routing table. This can be accomplished by keeping the OSPF areas small. In a normal OSPF network, the network manager would not let the size of an OSPF area grow beyond 50-60 routers. With a VPN, it is desirable to not let the OSPF area grow beyond 20-25 VRs. The larger the OSPF area, the higher the load on each VR, and hence the fewer the VRs that can be created on the service processing switch. As a result, it is not desirable to make a complete mesh of all the VRs in a large VPN. The user should use a custom OSPF topology and create areas of reasonable size to ensure scalability and stability of the OSPF network.

The system also provides for the definition of custom export/import policies (block 812). Using the router and site profile defined above, service management system 118 (FIG. 1) generates default policies necessary for different routing protocols to talk to each other. In some situations, custom export and import policies are needed to control access to critical networks. The system allows users to add custom export and import policies.

Based on the site reachability information and/or the global and custom profiles described above, the service management system generates routing configuration (block 814). Described below are items that are considered during the generation of the configuration:

-   -   The user can only configure one protocol for the Intra-VPN         segment. This configuration is used to configure the routing on         all the interfaces that connect one VR to another in the same         VPN. In most cases, this takes care of all tunnel interfaces.     -   If the user selects static routing for a site, service         management system 118 (FIG. 1) will auto-generate one static         route per site subnet on the local VR. If the routing for the         Intra-VPN segment is also static, service management system 118         (FIG. 1) will also generate one static route per subnet on each         remote VR. Auto-generation of static routes assumes a         meshed-topology for the VPN. If the topology is not meshed, some         additional configuration may be needed for the routing to work.     -   If select dynamic routing is selected for the Intra-VPN segment,         service management system 118 (FIG. 1) auto-generates export         policies to disseminate site reachability information to other         VRs.     -   For a non-stub site that is using dynamic routing to communicate         with the VPN, service management system 118 (FIG. 1) will create         an export policy to inject all the routes learned from the         Intra-VPN segment's routing into the customer network.     -   If the user selects a custom OSPF topology for the Intra-VPN         segment, he does not have to explicitly assign an area 10 for         each interface. Service management system 118 (FIG. 1)         automatically interprets this information from the area         configuration.     -   Once the profile is set, Service management system 118 (FIG. 1)         automatically handles the routing configuration for the addition         and deletion of VRs and VIs. For example, if standard OSPF         routing has been selected for the Intra-VPN segment, whenever         the user creates an IPSec tunnel connecting two VRs, OSPF will         be enabled with area ID 0. 0.0.0.     -   If a VPN is using only one routing protocol for the Intra-VPN         segment, service management system 118 (FIG. 1) can discover         routing profiles from the device configuration.     -   Service management system 118 (FIG. 1) supports explicit         two-phase provisioning of routing profile configurations. In the         first phase, the user makes changes to the routing profile and         saves them in the database. In the second phase, the user         commits the profile to the network. In this phase, the server         translates delta changes in the profile configuration into a         required low-level configuration and pushes it to appropriate         devices.     -   Service management system 118 (FIG. 1) allows users to         temporarily remove routing configurations from the device. Users         can do this by providing administration status attributes for         the routing profile. Setting this attribute to a “disabled”         state and committing the profile removes configurations from the         device. Routing can be turned on again by setting the admin         status to “enabled.”

As can be seen from the above, the generated and customized policies can act as templates that can be applied to particular VPNs, particular VRs, or groups of VRs. For example, assume an existing policy has been changed or further customized. In one embodiment of the invention, the user is presented with a list of VRs or VPNs that were configured with the existing policy. The user can then select the VRs to which the new policy should be applied.

Similarly, assume that the user wishes to change the policy for a particular VR. In one embodiment of the invention, the user selects the desired VR, and then selects a new policy to be applied to the VR. The new policy can then be applied immediately, or it can be applied at a later scheduled time.

In addition, the policies can be used as a differentiator in providing VPN services. If user selects STATIC routing for ISP-Edge and Intra-VPN segments, the service processing switch does not need to run any routing instances per customer VR. On the other hand, if a user has chosen to run dynamic routing for Intra-VPN and ISP edge segments, the switch may have to run instances of routing protocols such as OSPF and RIP. Running routing instances on virtual routers consumes both processing power and memory on the processing elements and blades. The demand on the resources will depend on the size of VPN and its interaction with various customer sites. An ISP can recover the cost of the increased resource usage, by using routing as a differentiator in providing VPN services. The following are a few exemplary methods of providing services:

-   -   1) Allow user to select the routing protocol per site: STATIC,         RIP, or OSPF. Based on the site configuration, ISP can         automatically configure routing protocol for intra-VPN segment.         The cost of the service should be the lowest for STATIC and the         highest for OSPF.     -   2) Define a few fixed routing profiles and sell them as a part         of service packages such as Gold, Silver, and Bronze. For         instance, Gold will allow user to select OSPF for intra-VPN as         well as ISP edge segment. Silver will allow user to configure         OSPF for intra-VPN segment, while RIP for ISPF edge. The bronze         package will permit customer to configure STATIC for ISP edge as         well as Intra-VPN segment.     -   3) Provide additional services as part of a profile. For         example, include firewall, intrusion detection, network address         translation, proxy services, or other network services as part         of a differentiated service package. The service can then be         included in profiles defined as part of the service package, and         excluded from profiles for customers that do not pay for the         service.

The terminology used in this application is meant to include all of these environments. It is to be understood that the above description is intended to be illustrative, and not restrictive. Many other embodiments will be apparent to those of skill in the art upon reviewing the above description. Therefore, it is manifestly intended that this invention be limited only by the following claims and equivalents thereof. 

1. A computerized method for managing interworking protocols comprising the following computer-implemented steps: provisioning, by a service management system (SMS) communicatively coupled with a plurality of service processing switches of a service provider, transport network interfaces of the plurality of service processing switches to provide a transport between subscriber interfaces of the plurality of service processing switches, the subscriber interfaces configured to communicate data in accordance with a first protocol, the transport network interfaces configured to communicate data in accordance with a second protocol; and causing to be created, by the SMS, a first-protocol-over-second-protocol (FPoSP) Virtual Private Network (VPN) through which a plurality of subscriber sites securely exchange data by establishing a virtual router (VR) within the plurality of service processing switches corresponding to each subscriber interface, the VRs communicate the data among the plurality of service processing switches by encapsulating packets received from the plurality of subscriber sites within packets of the second protocol and transmitting the encapsulated packets through the transport network interfaces.
 2. The computerized method of claim 1, wherein the first protocol comprises a frame relay protocol.
 3. The computerized method of claim 1, wherein the second protocol comprises a Transmission Control Protocol/Internet Protocol (TCP/IP) protocol.
 4. The computerized method of claim 1, wherein the second protocol comprises an Internet Protocol Security (IPSec) protocol.
 5. The computerized method of claim 1, wherein the first protocol comprises an Asynchronous Transfer Mode (ATM) protocol.
 6. The computerized method of claim 1, wherein said provisioning transport network interfaces utilizes the parameters from the predefined policy.
 7. A service processing system comprising: a first service processing switch including a first plurality of processing elements; a second service processing switch including a second plurality of processing elements; and a service management system (SMS), communicably coupled to the first service processing switch and the second service processing switch, operable to automatically establish a logical network connection between subscriber sites associated with the first service processing switch and the second service processing switch by: provisioning transport network interfaces of the first service processing switch and the second service processing switch to provide a transport between a first subscriber interface of the first service processing switch configured to communicate data in accordance with a first protocol and a second subscriber interface of the second service processing switch configured to communicate data in accordance with the first protocol, the transport network interfaces communicating in accordance with a second protocol; and creating a first-protocol-over-second-protocol (FPoSP) Virtual Private Network (VPN) through which the subscriber sites securely exchange data by establishing a first virtual router (VR) corresponding to the first subscriber interface and a second VR corresponding to the second subscriber interface, the first VR and the second VR communicate the data between the first service processing switch and the second service processing switch by encapsulating packets received from the subscriber sites within packets of the second protocol and transmitting the encapsulated packets through the transport network interfaces.
 8. The service processing system of claim 7, wherein the first protocol comprises a frame relay protocol.
 9. The service processing system of claim 7, wherein the second protocol comprises a Transmission Control Protocol/Internet Protocol (TCP/IP) protocol.
 10. The service processing system of claim 7, wherein the second protocol comprises an Internet Protocol Security (IPSec) protocol.
 11. The service processing system of claim 7, wherein the first protocol comprises an Asynchronous Transfer Mode (ATM) protocol.
 12. A non-transitory computer-readable storage medium having stored thereon instructions, which when executed by one or more processors of a service management system (SMS) of a service provider that is operable to automatically establish a logical network connection among a plurality of subscriber sites through a plurality of service processing switches to which the SMS is communicatively coupled, cause a method to be performed comprising the following computer-implemented steps: provisioning transport network interfaces of the plurality of service processing switches to provide a transport between subscriber interfaces of the plurality of service processing switches, the subscriber interfaces configured to communicate data in accordance with a first protocol, the transport network interfaces configured to communicate data in accordance with a second protocol; and causing to be created a first-protocol-over-second-protocol (FPoSP) Virtual Private Network (VPN) through which a plurality of subscriber sites securely exchange data by establishing a virtual router (VR) within the plurality of service processing switches corresponding to each subscriber interface, the VRs communicate the data among the plurality of service processing switches by encapsulating packets received from the plurality of subscriber sites within packets of the second protocol and transmitting the encapsulated packets through the transport network interfaces.
 13. The non-transitory computer-readable storage medium of claim 12, wherein the first protocol comprises a frame relay protocol.
 14. The non-transitory computer-readable storage medium of claim 12, wherein the second protocol comprises a Transmission Control Protocol/Internet Protocol (TCP/IP) protocol.
 15. The non-transitory computer-readable storage medium of claim 12, wherein the second protocol comprises an Internet Protocol Security (IPSec) protocol.
 16. The non-transitory computer-readable storage medium of claim 12, wherein the first protocol comprises an Asynchronous Transfer Mode (ATM) protocol. 